package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)" json:"username"`
	Password string `gorm:"type:varchar(50)" json:"password"`
}

type Shop struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)" json:"title"`
	Content string `gorm:"type:text" json:"content"`
	Img     string `gorm:"type:varchar(255)" json:"img"`
}
